FROM python:3.9.7

RUN mkdir /scale-plugin && mkdir ~/.kube

WORKDIR /scale-plugin
 
ADD . .

RUN cp authority/config_server ~/.kube/config && pip install kubernetes

CMD ["python", "-u", "./main.py"]